<?php

$array = array('lastname', 'email', 'phone');

$comma_separated = implode(", ", $array);

echo $comma_separated; // lastname,email,phone

?>